package com.project.webservice.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.project.webservice.dto.GetDataShareLinkDto;
import com.project.webservice.mapper.RfidDataShareMapper;
import com.project.webservice.service.RfidDataShareService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
@Slf4j
public class RfidDataShareServiceImpl  implements RfidDataShareService {
    @Resource
    private RfidDataShareMapper rfidDataShareMapper;
    @DS("rfiddatashare")
    @Override
    public List<GetDataShareLinkDto> getDataShareLink() {
        return rfidDataShareMapper.getDataShareLink();
    }
}
